<script type="text/javascript">
$(function(){
    $("form").validate();
    $('#getcoupon').click(function(){
        $.post('/member/getdwcoupon',null,function(data){
            $('#getcoupon').removeAttr('disabled').val('我已经充值,领取代金券');
            if(data.Value === -1){
                alert(data.message);
                return;
            }
            
            alert('恭喜您,领取'+ data.coupon +'代金券一张');
        },'json');
        $(this).val('正在验证,请稍候...').attr('disabled','disabled');
    });
});
</script>
<div class="center">
	<div class="home">
    	<div class="home_left">
            <?php echo $this->partial('member/menu.phtml',array('uCount' => $this->uCount,'menuId'=>$this->menuId,'user'=>$this->user,'account'=>$this->account)); ?>
        </div>
    	<div class="home_right">
            <div class="weizhi">
                <h2><a href="#">我的RMB帐户</a><i>&gt;</i>充值</h2>
            </div>
        
            <div class="recharge">
                <div class="rmbyuer">
                    <ul>
                        <li>充值账户：<?php echo $this->user->Email; ?></li>
                        <li>帐户余额：<span><?php echo number_format($this->account->Money,2) ?></span>元</li>
                    </ul>
                </div>
                <div class="rmbch">
                    <div class="rmbch_table">
                        <table>
                            <tr>
                                <th>充值方式</th>
                                <th>单笔限额(元)</th>
                                <th>每日限额(元)</th>
                                <th>需要满足的条件</th>
                            </tr>
                            <tr>
                                <td>Paypal</td>
                                <td>不限</td>
                                <td>不限 </td>
                                <td>PayPal用户和PayPal访客均可进行付款。</td>
                            </tr>
                            <tr>
                                <td>大陆银行卡</td>
                                <td>跟据银行而定</td>
                                <td>不限 </td>
                                <td>需开通网银。</td>
                            </tr>
                        </table>
                    </div>
                    <form action="" method="post">
                    <div class="rmbnum">
                        <dl>
                            <dt>充值金额：</dt>
                            <dd><?php echo $this->formText('money',null,array('class'=>'required number','min'=>'20')) ?><span>元<a class="indexa" style='font-size: 18px;font-weight: 900;margin-left: 20px;font-family: "Microsoft Yahei","simhei";' href="/campaign/valentine" target="_blank">充值送现金火爆全球，猛击详情</a></span></dd>
                        </dl>
                    </div>
                    <div class="rechargetj">
                        <input type="submit" value="确认金额，下一步" onmouseover="this.className='rechargeon'" onmouseout="this.className=''" />
                    </div>
                    </form>
                </div>
                
                
                <div class="czask">
                    <h2>充值遇到问题：</h2>
                    <ul>
                        <li>
                            <h3>1.完成充值需要多久？如何查看状态？</h3>
                            <p>答：充值是即时到帐的,当您在支付宝或Paypal完成金额支付后,您的个人帐户上马上就会增加您充值的金额，在您的个人帐户历史中也能看到所有的充值记录。如果您没有看到金额增加，您可以找客服进行反馈。</p>
                        </li>
                        <li>
                            <h3>2.我只有国际信用卡,能不能进行充值？</h3>
                            <p>答：能的，您可以使用Paypal进行国际信用卡充值。</p>
                        </li>
                    </ul>
                </div>
        
            </div>            
            
		</div>

    </div>
</div>

